package org.tinygroup.sdpm.zhang.business.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.tinygroup.sdpm.zhang.business.inter.UserManager;
import org.tinygroup.sdpm.zhang.dao.inter.UserDao;
import org.tinygroup.sdpm.zhang.dao.inter.pojo.User;

@Service
public class MyUserManagerImpl implements UserManager {

    @Autowired
    private UserDao userDao;

    @Override
    public User getByKey(String pk) {
        return userDao.getByKey(pk);
    }
}
